package tp2;

import jade.core.Agent;
import jade.domain.FIPAAgentManagement.DFAgentDescription;
import jade.domain.FIPAAgentManagement.ServiceDescription;


/**
 * @param args
 */
public class Student extends Agent {
	

	private static final long serialVersionUID = 1L;
		public void setup ()
		{
			DFAgentDescription dfa = new DFAgentDescription();
			dfa.setName(getAID());
			 
			ServiceDescription sd = new ServiceDescription();
			sd.setType("Do-test");
			sd.setName("Test");
			
			dfa.addServices(sd);
		}
		

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
